package com.lcc.lynx.jdbc.pojo;


import lombok.Data;

/**
 * 分页辅助类
 */
@Data
public class PageParams {
    public PageParams() {
    }
    public PageParams(int pageNum, int pageSize) {
        this.pageSize = pageSize;
        this.pageNum = pageNum;
    }

    // 页面大小
    private int pageSize = 10;
    // 第几页
    private int pageNum = 1;
    private int offset;
    private int limit;

}
